package com.dd.shop4j.common.utils.enums;

/**
 * 排序类型
 * @author Administrator
 *
 */
public enum OrderByType implements IEnum {

	SRC("src", "升序"),	//默认选升序
	DESC("desc", "降序")
	;

	private String code;
	private String text;
	
	private OrderByType(String code, String text) {
		this.code = code;
		this.text = text;
	}
	
	@Override
	public String getCode() {
		return code;
	}

	@Override
	public String getText() {
		return text;
	}

}
